package com.example.smartagriculture.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.io.Serial;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * illness 实体类
 * @author 张芸博
 * @since 2025-03-31
 */
@Data
@AllArgsConstructor
public class Illness implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Schema(name = "id", description = "id")
    private Integer id;

    /**
     * 病的类型
     */
    @Schema(name = "illness_name", description = "病的类型")
    private String illnessName;

    /**
     * 农业措施
     */
    @Schema(name = "agriculture", description = "农业措施")
    private String agriculture;

    /**
     * 化学
     */
    @Schema(name = "chemistry", description = "化学")
    private String chemistry;

    /**
     * 生物
     */
    @Schema(name = "creature", description = "生物")
    private String creature;

    /**
     * 危害
     */
    @Schema(name = "description", description = "危害")
    private String description;

}
